home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / disk / misc / Mtools207.lha / Mtools-2.0.7 / docs / Mcopy.doc < prev    next >
Encoding:
Text File  |  1994-05-27  |  1.9 KB  |  62 lines

  1.  
  2. NAME
  3.        mcopy - copy MSDOS files to/from Unix
  4.  
  5. SYNOPSIS
  6.        mcopy [ -tnvm ] sourcefile targetfile
  7.  
  8.        mcopy [ -tnvm ] sourcefile [ sourcefiles... ] targetdirec-
  9.        tory
  10.  
  11. DESCRIPTION
  12.        Mcopy copies the specified file  to  the  named  file,  or
  13.        copies  multiple files to the named directory.  The source
  14.        and target can be either MSDOS or Unix files.
  15.  
  16.        The use of a drive letter designation on the MSDOS  files,
  17.        'a:'  for  example, determines the direction of the trans-
  18.        fer.  A missing drive  designation  implies  a  Unix  file
  19.        whose path starts in the current directory
  20.  
  21.        Mcopy will allow the following command line options:
  22.  
  23.        t      Text  file transfer.  Mcopy will translate incoming
  24.               carriage return/line feeds to line feeds.
  25.  
  26.        n      No warning.  Mcopy will  not  warn  the  user  when
  27.               overwriting an existing file.
  28.  
  29.        v      Verbose mode.
  30.  
  31.        m      Preserve the file modification time.
  32.  
  33.        If  the  target  file already exists, and the -n option is
  34.        not in effect, mcopy asks whether or not to overwrite  the
  35.        file.
  36.  
  37.        MSDOS subdirectory names are supported with either the '/'
  38.        or '\' separator.  The use of the '\' separator  or  wild-
  39.        cards  will  require the names to be enclosed in quotes to
  40.        protect them from the shell.
  41.  
  42.        The mcd command may be used to establish  the  device  and
  43.        the  current working directory (relative to MSDOS), other-
  44.        wise the default is A:/.
  45.  
  46.        Mcopy returns 0 on success, 1 on utter failure,  or  2  on
  47.        partial failure.
  48.  
  49. SEE ALSO
  50.        mcd(1), mread(1), mwrite(1)
  51.  
  52. BUGS
  53.        Unlike  MSDOS,  the destination directory may not be omit-
  54.        ted.
  55.  
  56.        The '+' operator (append) from MSDOS is not supported.
  57.  
  58.        No other Mtools command requires the use of a drive letter
  59.        designation on MSDOS files.
  60.  
  61.  
  62.